/*
 * Copyright (c) 2017. 深圳一七网络科技. All rights reserved.
 */

package com.fenxiangle.yueding.feature.publish.dependencies.mine;



import com.fenxiangle.yueding.feature.publish.contract.PublishContract;
import com.fenxiangle.yueding.feature.publish.presenter.PublishPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:27
 */
@Module
public class PublishPresenterModule {
    private final PublishContract.View mView;

    public PublishPresenterModule(PublishContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public PublishContract.Presenter providePublishPresenter(){
        return  new PublishPresenter(mView);
    }

}
